module.exports = {
  title: "Hikalu's World",
  description: "Think Twice Code Once",
  theme: "reco",
  head: [
    [
      "link",
      {
        rel: "icon",
        href: "/favicon.ico",
      },
    ],
    [
      "meta",
      {
        name: "viewport",
        content: "width=device-width,initial-scale=1,user-scalable=no",
      },
    ],
  ],
  // 主题设置
  themeConfig: {
    mode: "dark",
    // valineConfig: {
    //   appId: "uVNTTQ5SJQa7rwYGDuK1QDhj-gzGzoHsz", // your appId
    //   appKey: "6Ue7SUHOntstcHVTcWB3ikrm", // your appKey
    // },
    nav: [
      {
        text: "主页",
        link: "/",
        icon: "reco-home",
      },
      {
        text: "Blog",
        link: "/views",
        icon: "reco-home",
      },
      {
        text: "时光轴",
        link: "/timeline/",
        icon: "reco-date",
      },
      {
        text: "GitHub",
        link: "https://github.com/HIKALU-Z",
        icon: "reco-github",
      },
    ],
    type: "blog",
    blogConfig: {
      category: {
        location: 2,
        text: "分类",
      },
      tag: {
        location: 3,
        text: "标签",
      },
    },
    friendLink: [
      {
        title: "vuepress-theme-reco",
        desc: "A simple and beautiful vuepress Blog & Doc theme.",
        avatar:
          "https://vuepress-theme-reco.recoluan.com/icon_vuepress_reco.png",
        link: "https://vuepress-theme-reco.recoluan.com",
      },
    ],
    logo: "/logo.png",
    search: true,
    searchMaxSuggestions: 5,
    sidebar: "auto",
    lastUpdated: false,
    author: "Hikalu",
    authorAvatar: "/avatar.png",
    record: "Maybe not safe",
    startYear: "2018",
    sidebar: {
      //侧边拦
      "/2020/": [
        ["/2020/5/", "5月份"],
        ["/2020/6/", "6月份"],
      ],
    },
  },
  markdown: {
    lineNumbers: true,
  },
};
